function onDeviceReady(user_id){

	    var output = $('#output');

	        $.ajax({
	            url: 'http://192.168.2.102/rightsize/landmarks.php?userid='+user_id,
	            dataType: 'jsonp',
	            jsonp: 'jsoncallback',
	            timeout: 5000,
	            success: function(data, status){
	                $.each(data, function(i,item){ 

	                    /** var landmark = '<div data-role="collapsible">'
						+ '		<h3>'
						+			item.name
						+ '			<div style="text-align:right; margin-top: -20px">'
	                    + 				item.amount
						+ '			</div>'
						+ '		</h3>'
	                    + '		<a href="#seite2" data-role="button" data-icon="info" data-iconpos="notext" style="margin-top: 6px;"></a> '
                        + '		<div  style="margin-left:38px; margin-top: -37px; width:200px">'
                        + '			<input type="number" name="groesse" id="groesse" value="" data-inline="true" />'
	                    + '		</div>'  
                    	+ '</div>';
	                **/
						var landmark = new Array(item.name, item.amount);
	                    output.append(landmark);
	                });
					alert(output[0]);
	            },
	            error: function(){
	               output.text('There was an error loading the data.');
	            }
	        });


}